// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>Vecen.BangChuang</Solution>
// <Project>Vecen.BangChuang.Core</Project>
// <FileName>WithdrawApply.cs</FileName>
// <CreateTime>2017-05-16 14:51</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-05-16 14:51" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using System;
using Abp.Domain.Entities.Auditing;

namespace Vecen.BangChuang.BangChuang.Wallets {

    /// <summary>
    /// 提现申请记录
    /// </summary>
    public class PointWithdraw: FullAuditedEntity {

        /// <summary>
        /// 用户ID
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 店长ID
        /// </summary>
        public int AgentId { get; set; }

        /// <summary>
        /// 申请提现积分
        /// </summary>
        public decimal Point { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public PointWithdrawStatus Status { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        public DateTime ApplyTime { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? AuditTime { get; set; }

        /// <summary>
        /// 打款时间
        /// </summary>
        public DateTime? PayedTime { get; set; }

        /// <summary>
        /// 提现到银行卡ID
        /// </summary>
        public int BankCardId { get; set; }
    }
}